{{extend 'userlayout.html'}}

<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>CMS manager</h3>
					
					<ul class="content-box-tabs">
						<li><a href="{{=URL('management')}}" >List of your CMSs</a></li> <!-- href must be unique and match the id of target div -->
						<li><a href="" class="default-tab">Create a new site</a></li>
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">		   				
					<div class="tab-content default-tab id="tab2">
					
						<form action="" method="post">
							<div class="notification attention png_bg">
							<a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
							<div>
						     {{if response.flash == None :}}
								Just give us your site name and click on the create button. We are going to bring you new site
							 {{else:}}
							 	{{=response.flash}}
							 	<a href="{{=cmsurl}}">{{=cmsurl}}</a>
							 {{pass}}	
							 	
							</div>
						</div>
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>Site name</label>
										<input class="text-input small-input" type="text" id="small-input" name="cmsname" /> 
										
							
								
								<p>
									<input class="button" type="submit" value="Create" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
<div class="clear"></div><!-- End .clear -->				